package com.wtx.chapter11;

/**
 * @description: 并查集接口
 * @author: wtx
 * @createDate: 2020/6/1
 */
public interface UF {

    boolean isConnected(int p, int q);
    void unionElements(int p, int q);
    int getSize();
}
